
#coding:utf-8
__author__ = 'zhoushuang'

import mod_execute
from BaseCommon import *
import os
import sys

import sys
print globals()
modul= globals()['mod_execute']

function = getattr(modul , 'gethandler')
hd = function()
print isinstance(hd, BaseHandler)
hd.echo=sys.stdout
reqdict={'cmdline':'echo.bat'}
hd.handle(reqdict)

# 测试代码
print dir(modul)
print dir(mod_execute.mod_execute)
